/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package GuiCallCenter;

import CallCenterComunicate.Cliente;
import javax.swing.JOptionPane;

/**
 *
 * @author Tecnico-SICE
 */
public class Interfazsupervisor extends javax.swing.JFrame {
    Cliente cli =new Cliente();
    public void LimpiarPantalla(){
        jTextFieldRutCliente.setText("");
            jLabelCiudadInfo.setText("");
            jLabelNombreInfo.setText("");
            jLabelTelefonoInfo.setText("");
            jLabelEmailInfo.setText("");
            jLabelDeudaClienteInfo.setText("");
            jLabelPlanVozInfo.setText("");
            jLabelPlanInternetInfo.setText("");
            jLabelPlanTelevisionInfo.setText("");
            jLabelCantidadDecosInfo.setText("");
            jLabelHboHdInfo.setText("");
            jLabelHboPlusInfo.setText("");
            jLabelPlanInfantilInfo.setText("");
            jLabelPlanFutbolInfo.setText("");
    }
    /**
     * Creates new form NewJFrame
     */
    public Interfazsupervisor() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        jLabelBienvenidoSupervisor = new javax.swing.JLabel();
        jPanelFondo = new javax.swing.JPanel();
        jLabelDatosCLiente = new javax.swing.JLabel();
        jPanelDatosDelCliente = new javax.swing.JPanel();
        jLabelRutCliente = new javax.swing.JLabel();
        jLabelNombreCliente = new javax.swing.JLabel();
        jLabelCiudad = new javax.swing.JLabel();
        jLabelTelefono = new javax.swing.JLabel();
        jLabelEmail = new javax.swing.JLabel();
        jLabelDeudaCliente = new javax.swing.JLabel();
        jLabelDeudaClienteInfo = new javax.swing.JLabel();
        jLabelEmailInfo = new javax.swing.JLabel();
        jLabelCiudadInfo = new javax.swing.JLabel();
        jLabelNombreInfo = new javax.swing.JLabel();
        jLabelTelefonoInfo = new javax.swing.JLabel();
        jTextFieldRutCliente = new javax.swing.JTextField();
        jLabelDatosServicios = new javax.swing.JLabel();
        jPanelDatosServicios = new javax.swing.JPanel();
        jLabelPlanVoz = new javax.swing.JLabel();
        jLabelPlanInternet = new javax.swing.JLabel();
        jLabelPlanTelevision = new javax.swing.JLabel();
        jLabelHbohd = new javax.swing.JLabel();
        jLabelHboPlus = new javax.swing.JLabel();
        jLabelAgregaPlan = new javax.swing.JLabel();
        jLabelPlanInfantil = new javax.swing.JLabel();
        jLabelPlanFutbol = new javax.swing.JLabel();
        jLabelCantidadDecos = new javax.swing.JLabel();
        jLabelPlanVozInfo = new javax.swing.JLabel();
        jLabelPlanInternetInfo = new javax.swing.JLabel();
        jLabelCantidadDecosInfo = new javax.swing.JLabel();
        jLabelHboHdInfo = new javax.swing.JLabel();
        jLabelHboPlusInfo = new javax.swing.JLabel();
        jLabelPlanFutbolInfo = new javax.swing.JLabel();
        jLabelPlanInfantilInfo = new javax.swing.JLabel();
        jLabelPlanTelevisionInfo = new javax.swing.JLabel();
        jButtonSolicitud = new javax.swing.JButton();
        jButtonLimpiar = new javax.swing.JButton();
        jButton1 = new javax.swing.JButton();
        jButtonInformeCliente = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jPanel1.setBorder(null);

        jLabelBienvenidoSupervisor.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Iconos/Supervisor.png"))); // NOI18N
        jLabelBienvenidoSupervisor.setText("Bienvenido Supervisor");

        jPanelFondo.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED));

        jLabelDatosCLiente.setText("Datos del Cliente");

        jPanelDatosDelCliente.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        jLabelRutCliente.setText("Rut Cliente");

        jLabelNombreCliente.setText("Nombre ");

        jLabelCiudad.setText("Ciudad");

        jLabelTelefono.setText("Telefono");

        jLabelEmail.setText("Email");

        jLabelDeudaCliente.setText("¿Cliente con Deuda?");

        jLabelEmailInfo.setText(".");

        jLabelCiudadInfo.setText(".");

        jLabelNombreInfo.setText(".");

        jLabelTelefonoInfo.setText(".");

        javax.swing.GroupLayout jPanelDatosDelClienteLayout = new javax.swing.GroupLayout(jPanelDatosDelCliente);
        jPanelDatosDelCliente.setLayout(jPanelDatosDelClienteLayout);
        jPanelDatosDelClienteLayout.setHorizontalGroup(
            jPanelDatosDelClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosDelClienteLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelDatosDelClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabelRutCliente)
                    .addComponent(jLabelCiudad)
                    .addComponent(jLabelEmail))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelDatosDelClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabelEmailInfo)
                    .addComponent(jLabelCiudadInfo)
                    .addComponent(jTextFieldRutCliente, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(75, 75, 75)
                .addGroup(jPanelDatosDelClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosDelClienteLayout.createSequentialGroup()
                        .addComponent(jLabelDeudaCliente)
                        .addGap(27, 27, 27)
                        .addComponent(jLabelDeudaClienteInfo))
                    .addGroup(jPanelDatosDelClienteLayout.createSequentialGroup()
                        .addComponent(jLabelTelefono)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jLabelTelefonoInfo))
                    .addGroup(jPanelDatosDelClienteLayout.createSequentialGroup()
                        .addComponent(jLabelNombreCliente)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jLabelNombreInfo)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanelDatosDelClienteLayout.setVerticalGroup(
            jPanelDatosDelClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosDelClienteLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelDatosDelClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelRutCliente)
                    .addComponent(jLabelNombreCliente)
                    .addComponent(jLabelNombreInfo)
                    .addComponent(jTextFieldRutCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(24, 24, 24)
                .addGroup(jPanelDatosDelClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelCiudad)
                    .addComponent(jLabelTelefono)
                    .addComponent(jLabelCiudadInfo)
                    .addComponent(jLabelTelefonoInfo))
                .addGap(14, 14, 14)
                .addGroup(jPanelDatosDelClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelEmail)
                    .addComponent(jLabelDeudaCliente)
                    .addComponent(jLabelDeudaClienteInfo)
                    .addComponent(jLabelEmailInfo))
                .addContainerGap(27, Short.MAX_VALUE))
        );

        jLabelDatosServicios.setText("Datos de servicios");

        jPanelDatosServicios.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        jLabelPlanVoz.setText("Plan Voz");

        jLabelPlanInternet.setText("Plan Internet");

        jLabelPlanTelevision.setText("Plan Television");

        jLabelHbohd.setText("HBO HD");

        jLabelHboPlus.setText("HBO PLUS");

        jLabelAgregaPlan.setText("Agrega Pack Plan");

        jLabelPlanInfantil.setText("Plan Infantil");

        jLabelPlanFutbol.setText("Plan Futbol");

        jLabelCantidadDecos.setText("Cantidad Decos");

        jLabelPlanVozInfo.setText(".");

        jLabelPlanInternetInfo.setText(".");

        jLabelCantidadDecosInfo.setText(".");

        jLabelHboHdInfo.setText(".");

        jLabelHboPlusInfo.setText(".");

        jLabelPlanFutbolInfo.setText(".");

        jLabelPlanInfantilInfo.setText(".");

        jLabelPlanTelevisionInfo.setText(".");

        javax.swing.GroupLayout jPanelDatosServiciosLayout = new javax.swing.GroupLayout(jPanelDatosServicios);
        jPanelDatosServicios.setLayout(jPanelDatosServiciosLayout);
        jPanelDatosServiciosLayout.setHorizontalGroup(
            jPanelDatosServiciosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosServiciosLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelDatosServiciosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosServiciosLayout.createSequentialGroup()
                        .addGroup(jPanelDatosServiciosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabelPlanVoz)
                            .addComponent(jLabelPlanTelevision))
                        .addGap(47, 47, 47)
                        .addComponent(jLabelPlanVozInfo)
                        .addGap(94, 94, 94)
                        .addGroup(jPanelDatosServiciosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabelPlanInternet)
                            .addComponent(jLabelCantidadDecos))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosServiciosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabelPlanInternetInfo)
                            .addComponent(jLabelCantidadDecosInfo))
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(jPanelDatosServiciosLayout.createSequentialGroup()
                        .addGroup(jPanelDatosServiciosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabelAgregaPlan)
                            .addGroup(jPanelDatosServiciosLayout.createSequentialGroup()
                                .addGroup(jPanelDatosServiciosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jPanelDatosServiciosLayout.createSequentialGroup()
                                        .addComponent(jLabelHbohd)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jLabelHboHdInfo))
                                    .addComponent(jLabelPlanInfantil))
                                .addGap(39, 39, 39)
                                .addGroup(jPanelDatosServiciosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jPanelDatosServiciosLayout.createSequentialGroup()
                                        .addComponent(jLabelPlanInfantilInfo)
                                        .addGap(105, 105, 105)
                                        .addComponent(jLabelPlanFutbol)
                                        .addGap(18, 18, 18)
                                        .addComponent(jLabelPlanFutbolInfo))
                                    .addGroup(jPanelDatosServiciosLayout.createSequentialGroup()
                                        .addComponent(jLabelHboPlus)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addComponent(jLabelHboPlusInfo))
                                    .addComponent(jLabelPlanTelevisionInfo))))
                        .addGap(0, 0, Short.MAX_VALUE))))
        );
        jPanelDatosServiciosLayout.setVerticalGroup(
            jPanelDatosServiciosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosServiciosLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelDatosServiciosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelPlanVoz)
                    .addComponent(jLabelPlanInternet)
                    .addComponent(jLabelPlanVozInfo)
                    .addComponent(jLabelPlanInternetInfo))
                .addGap(18, 18, 18)
                .addGroup(jPanelDatosServiciosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelPlanTelevision)
                    .addComponent(jLabelCantidadDecos)
                    .addComponent(jLabelCantidadDecosInfo)
                    .addComponent(jLabelPlanTelevisionInfo))
                .addGap(21, 21, 21)
                .addGroup(jPanelDatosServiciosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelHbohd)
                    .addComponent(jLabelHboPlus)
                    .addComponent(jLabelHboHdInfo)
                    .addComponent(jLabelHboPlusInfo))
                .addGap(18, 18, 18)
                .addComponent(jLabelAgregaPlan)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanelDatosServiciosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelPlanInfantil)
                    .addComponent(jLabelPlanFutbol)
                    .addComponent(jLabelPlanFutbolInfo)
                    .addComponent(jLabelPlanInfantilInfo))
                .addContainerGap(17, Short.MAX_VALUE))
        );

        jButtonSolicitud.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Iconos/user-search-icon.png"))); // NOI18N
        jButtonSolicitud.setText("Buscar Cliente");
        jButtonSolicitud.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonSolicitudActionPerformed(evt);
            }
        });

        jButtonLimpiar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Iconos/Recycle-Empty-icon.png"))); // NOI18N
        jButtonLimpiar.setText("Limpiar Ventana");
        jButtonLimpiar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonLimpiarActionPerformed(evt);
            }
        });

        jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Iconos/Bookmark-delete-icon.png"))); // NOI18N
        jButton1.setText("Salir");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        jButtonInformeCliente.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Iconos/Document-Copy-icon.png"))); // NOI18N
        jButtonInformeCliente.setText("Informe cliente");
        jButtonInformeCliente.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonInformeClienteActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanelFondoLayout = new javax.swing.GroupLayout(jPanelFondo);
        jPanelFondo.setLayout(jPanelFondoLayout);
        jPanelFondoLayout.setHorizontalGroup(
            jPanelFondoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelFondoLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelFondoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanelDatosDelCliente, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(jPanelFondoLayout.createSequentialGroup()
                        .addGroup(jPanelFondoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabelDatosCLiente)
                            .addComponent(jLabelDatosServicios))
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addGroup(jPanelFondoLayout.createSequentialGroup()
                        .addGap(10, 10, 10)
                        .addGroup(jPanelFondoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanelFondoLayout.createSequentialGroup()
                                .addComponent(jButtonSolicitud)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jButtonLimpiar)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 159, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jButtonInformeCliente)
                                .addGap(0, 16, Short.MAX_VALUE))
                            .addComponent(jPanelDatosServicios, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                .addContainerGap())
        );
        jPanelFondoLayout.setVerticalGroup(
            jPanelFondoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelFondoLayout.createSequentialGroup()
                .addGap(117, 117, 117)
                .addComponent(jLabelDatosCLiente)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanelDatosDelCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabelDatosServicios)
                .addGap(11, 11, 11)
                .addComponent(jPanelDatosServicios, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelFondoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButtonSolicitud)
                    .addComponent(jButtonLimpiar)
                    .addComponent(jButton1)
                    .addComponent(jButtonInformeCliente))
                .addContainerGap(136, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(186, 186, 186)
                .addComponent(jLabelBienvenidoSupervisor)
                .addContainerGap(325, Short.MAX_VALUE))
            .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                    .addComponent(jPanelFondo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addContainerGap()))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(59, 59, 59)
                .addComponent(jLabelBienvenidoSupervisor)
                .addContainerGap(570, Short.MAX_VALUE))
            .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel1Layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jPanelFondo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        // TODO add your handling code here:
                Login q=new Login();
                   q.show();
                   hide();
                
    }//GEN-LAST:event_jButton1ActionPerformed

    private void jButtonLimpiarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonLimpiarActionPerformed
        // TODO add your handling code here:
        LimpiarPantalla();
    }//GEN-LAST:event_jButtonLimpiarActionPerformed

    private void jButtonSolicitudActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonSolicitudActionPerformed
        // TODO add your handling code here:
        
        cli=cli.buscar(jTextFieldRutCliente.getText());
        if (cli!=null){
            jLabelNombreInfo.setText(cli.getNombre());
            jLabelCiudadInfo.setText(cli.getCiudad());
            jLabelTelefonoInfo.setText(cli.getTelefono());
            jLabelEmailInfo.setText(cli.getEmail());
            jLabelDeudaClienteInfo.setText(cli.getDeuda());
            jLabelPlanVozInfo.setText(cli.getVoz());
            jLabelPlanInternetInfo.setText(cli.getInternet());
            jLabelPlanTelevisionInfo.setText(cli.getTv());
            jLabelCantidadDecosInfo.setText(String.valueOf(cli.getDeco()));
            jLabelHboHdInfo.setText(cli.getHboHd());
            jLabelHboPlusInfo.setText(cli.getHboPlus());
            jLabelPlanInfantilInfo.setText(cli.getPlanInfantil());
            jLabelPlanFutbolInfo.setText(cli.getPlanFutbol());

        }else {
            JOptionPane.showMessageDialog(this,"Usuario No Encontrado");
            LimpiarPantalla();
    }//GEN-LAST:event_jButtonSolicitudActionPerformed
    }
    private void jButtonInformeClienteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonInformeClienteActionPerformed
        // TODO add your handling code here:
        
        InformeClientes o=new InformeClientes();
        o.show();
        hide();
    }//GEN-LAST:event_jButtonInformeClienteActionPerformed
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Interfazsupervisor.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Interfazsupervisor.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Interfazsupervisor.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Interfazsupervisor.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>
        //</editor-fold>
        //</editor-fold>
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Interfazsupervisor().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButtonInformeCliente;
    private javax.swing.JButton jButtonLimpiar;
    private javax.swing.JButton jButtonSolicitud;
    private javax.swing.JLabel jLabelAgregaPlan;
    private javax.swing.JLabel jLabelBienvenidoSupervisor;
    private javax.swing.JLabel jLabelCantidadDecos;
    private javax.swing.JLabel jLabelCantidadDecosInfo;
    private javax.swing.JLabel jLabelCiudad;
    private javax.swing.JLabel jLabelCiudadInfo;
    private javax.swing.JLabel jLabelDatosCLiente;
    private javax.swing.JLabel jLabelDatosServicios;
    private javax.swing.JLabel jLabelDeudaCliente;
    private javax.swing.JLabel jLabelDeudaClienteInfo;
    private javax.swing.JLabel jLabelEmail;
    private javax.swing.JLabel jLabelEmailInfo;
    private javax.swing.JLabel jLabelHboHdInfo;
    private javax.swing.JLabel jLabelHboPlus;
    private javax.swing.JLabel jLabelHboPlusInfo;
    private javax.swing.JLabel jLabelHbohd;
    private javax.swing.JLabel jLabelNombreCliente;
    private javax.swing.JLabel jLabelNombreInfo;
    private javax.swing.JLabel jLabelPlanFutbol;
    private javax.swing.JLabel jLabelPlanFutbolInfo;
    private javax.swing.JLabel jLabelPlanInfantil;
    private javax.swing.JLabel jLabelPlanInfantilInfo;
    private javax.swing.JLabel jLabelPlanInternet;
    private javax.swing.JLabel jLabelPlanInternetInfo;
    private javax.swing.JLabel jLabelPlanTelevision;
    private javax.swing.JLabel jLabelPlanTelevisionInfo;
    private javax.swing.JLabel jLabelPlanVoz;
    private javax.swing.JLabel jLabelPlanVozInfo;
    private javax.swing.JLabel jLabelRutCliente;
    private javax.swing.JLabel jLabelTelefono;
    private javax.swing.JLabel jLabelTelefonoInfo;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanelDatosDelCliente;
    private javax.swing.JPanel jPanelDatosServicios;
    private javax.swing.JPanel jPanelFondo;
    private javax.swing.JTextField jTextFieldRutCliente;
    // End of variables declaration//GEN-END:variables
}
